package com.chenwc.util.translate.google.v3;

import com.chenwc.util.translate.google.LoadGooglePropertiesFile;

import java.util.Properties;

/**
 * 常量
 *
 * @author chenwc
 * @date 2024/7/30
 */
public class V3Constant {

    private static final Properties PROPERTIES = LoadGooglePropertiesFile.loadGooglePropertiesFile();

    /**
     * 项目ID
     */
    public static final String PROJECT_ID = PROPERTIES.getProperty("V3_PROJECT_ID");
    /**
     * 区域
     */
    public static final String LOCATIONS = PROPERTIES.getProperty("V3_LOCATIONS");

    /**
     * 翻译文本接口
     */
    public static final String TRANSLATE_TEXT_URL = PROPERTIES.getProperty("V3_TRANSLATE_TEXT_URL");
    /**
     * 获取支持语言接口
     */
    public static final String GET_SUPPORTED_LANGUAGES_URL = PROPERTIES.getProperty("V3_GET_SUPPORTED_LANGUAGES_URL");
    /**
     * 检测语言
     */
    public static final String DETECT_LANGUAGES_URL = PROPERTIES.getProperty("V3_DETECT_LANGUAGES_URL");
    /**
     * 将文字转换为拼音
     */
    public static final String ROMANIZE_TEXT_URL = PROPERTIES.getProperty("V3_ROMANIZE_TEXT_URL");
}
